﻿<UserControl x:Class="SurfaceInteraction.UI.Surface.Content" 
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:s="http://schemas.microsoft.com/surface/2008"
             mc:Ignorable="d" 
             x:Name="ControlContent"
             MinHeight="200" MinWidth="300"
             d:DesignHeight="300" d:DesignWidth="500">
    <Grid x:Name="LayoutRoot" >
        <Grid.Background >
            <SolidColorBrush Color="{DynamicResource Velvet}" Opacity="0.8"/>
        </Grid.Background>
        <Grid Margin="10,10,10,10">
            <Grid.RowDefinitions>
                <RowDefinition Height="0.80*" />
                <RowDefinition Height="0.05*" />
            </Grid.RowDefinitions>
            <Image  Margin="10" Grid.Column="0" Grid.Row="0" Source="{Binding}" Stretch="UniformToFill">
                <Image.CacheMode>
                    <BitmapCache RenderAtScale="1" EnableClearType="False" SnapsToDevicePixels="False"/>
                </Image.CacheMode>
            </Image>
            <TextBlock Grid.Column="0" Grid.Row="1" Background="Transparent" Foreground="White" FontSize="10" VerticalAlignment="Center" HorizontalAlignment="Center"><Run Text="Surface - WP7 Interaction"/></TextBlock>
        </Grid>
    </Grid>
</UserControl>
